<!DOCTYPE html>
<html>
<script src="../media-controls.js"></script>
<audio controls></audio>
<video controls></video>
<script>
  var audio = document.querySelector('audio')
  audio.src = '../content/test.oga';
  enableTestMode(audio);
  audio.muted = true;

  var video = document.querySelector('video');
  enableTestMode(video);
  video.src = '../content/test.ogv';
  video.muted = true;

  if (window.testRunner) {
    testRunner.waitUntilDone();
    video.requestVideoFrameCallback(() => {
      testRunner.notifyDone();
    });
  }
</script>
</html>
